package org.jeecg.modules.sssj.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author chensherun on 2022/6/16.
 * @version 1.0
 */
@Data
public class CwbbSssjVo {

    @ApiModelProperty(value = "会计制度（准则）代码  101: 企业会计准则(一般企业)，101-1:企业会计准则(一般企业已执行新金融)， 102:小企业会计准则, 201:企业会计准则")
    private String kjzdzzDm;

    @ApiModelProperty(value = "利润表")
    private List<LowDataVo> lrbList;
    @ApiModelProperty(value = "资产负债表")
    private List<LowDataVo> zcfzbList;
    @ApiModelProperty(value = "现金流量表")
    private List<LowDataVo> xjllbList;

    @Builder
    @Accessors(chain = true)
    @Data
    public static class LowDataVo {
        private String key;
        @ApiModelProperty(value = "标题")
        private String title;
        @ApiModelProperty(value = "本期值（第一列）")
        private Double value1;
        @ApiModelProperty(value = "本年累计（第二列）")
        private Double value2;
        @ApiModelProperty(value = "行内值")
        private BigDecimal hnz;
        @ApiModelProperty(value = "偏差")
        private String bc;
    }

//    @Data
//    public static class ZcfzbVo {
//        @ApiModelProperty(value = "资产总额")
//        private BigDecimal zcze;
//        @ApiModelProperty(value = "负债总额")
//        private BigDecimal fzze;
//        @ApiModelProperty(value = "存货总额")
//        private BigDecimal chze;
//        @ApiModelProperty(value = "应收账款总额")
//        private BigDecimal yszkze;
//        @ApiModelProperty(value = "其他应收账款")
//        private BigDecimal qtyszk;
//        @ApiModelProperty(value = "流动资产合计")
//        private BigDecimal ldzchj;
//        @ApiModelProperty(value = "流动负债合计")
//        private BigDecimal ldfzhj;
//    }
//
//    @Data
//    public static class XjllbVo {
//        @ApiModelProperty(value = "经营活动产生的现金流量净额")
//        private BigDecimal jyhdcsdxjllje;
//        @ApiModelProperty(value = "筹资活动产生的现金流量净额")
//        private BigDecimal czhdcsdxjllje;
//        @ApiModelProperty(value = "投资活动产生的现金流量净额")
//        private BigDecimal tzhdcsdxjllje;
//        @ApiModelProperty(value = "现金净增加额")
//        private BigDecimal xjjzje;
//        @ApiModelProperty(value = "期初现金余额")
//        private BigDecimal qcxjye;
//        @ApiModelProperty(value = "期末现金余额")
//        private BigDecimal qmxjye;
//    }
}
